//
//  ICPhotoPickerManager.h
//  ICome
//
//  Created by zhangrongwu on 16/4/18.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>
typedef NS_ENUM(NSInteger, PickSourceType) {
    sourceTypeCamera = 1,
    sourceTypePhotoLibrary = 2,
};

@interface ICPhotoPickerManager : NSObject

+ (instancetype)shareInstace;

typedef void (^CompelitionBlock)(NSMutableArray *imageArray);

- (void)showActionSheetInView:(UIView *)inView
                     maxCount:(NSInteger)maxCount
               fromController:(UIViewController *)fromController
              completionBlock:(CompelitionBlock)completionBlock;

- (void)selectPhotoWithPickSourceType:(PickSourceType)sourceType
                             maxCount:(NSInteger)maxCount
                       fromController:(UIViewController *)fromController
                      completionBlock:(CompelitionBlock)completionBlock;



@end
